/**
 * [1 Timothy 3:16-17 ESV]
 * All Scripture is breathed out by God and profitable
 * for teaching, for reproof, for correction, and for training in righteousness,
 * that the man of God may be complete, equipped for every good work.
 *
 * 本工具可用于圣经研究、日常查经、深入原文学习等用途，目标受众是中文为母语的基督徒
 *
 * 本文件信息
 * @version 0.1.14
 * @author timothy
 *
 * @copyright GPL
 */
#ifndef BIBLECHAPTER_H
#define BIBLECHAPTER_H

#include <QObject>
#include <QString>
#include <QStringList>

#include "bibleverse.h"
#include "biblebook.h"

/**
 * @brief
 * 本类是对应的是圣经一卷书中的一章
 */
class BibleChapter
{
public:
    /**
     * @brief 构造函数
     */
    BibleChapter();

    /**
     * @brief 取得【章】的ID
     * @return
     */
    int getChapter() const;
    void setChapter(int value);

    QList<BibleVerse> getVersesList() const;
    void setVersesList(const QList<BibleVerse> &value);

    QString getBibleVersion() const;
    void setBibleVersion(const QString &value);

    int getVersesCount() const;
    void setVersesCount(int value);

    QString text();

    BibleBook getBook() const;
    void setBook(const BibleBook &value);

private:
    /**
     * @brief bible book the chapter in
     */
    BibleBook book;
    /**
     * @brief the chapter number
     */
    int chapter;

    /**
     * @brief all verses of this chapter
     */
    QList<BibleVerse> versesList;

    /**
     * @brief bible version of this chapter
     */
    QString bibleVersion;
    /**
     * @brief verses count of this chapter
     */
    int versesCount;
};

#endif // BIBLECHAPTER_H
